(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BPTR CurrentDir()
SYNOPSIS
BPTR lock

LOCATION
In DOSBase at offset 21
FUNCTION
Sets a new directory as the current directory. Returns the old one. 0 is valid in both cases and represents the boot filesystem.

INPUTS
lock
Lock for the new current directory.
RESULT
Old current directory.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
RCS file: /home/AROS/CVS/AROS/rom/dos/currentdir.c,v Working file: ../../rom/dos/currentdir.c head: 1.6 branch: locks: strict access list: symbolic names: REL_1_8: 1.3 AROS17: 1.3 alpha: 1.1.1.1 digulla: 1.1.1 keyword substitution: kv total revisions: 7; selected revisions: 7 description: ---------------------------- revision 1.6 date: 1997/01/27 00:36:16; author: ldp; state: Exp; lines: +8 -3 Polish ---------------------------- revision 1.5 date: 1996/12/09 13:53:23; author: aros; state: Exp; lines: +5 -2 Added empty templates for all missing functions Moved #include's into first column ---------------------------- revision 1.4 date: 1996/10/24 15:50:25; author: aros; state: Exp; lines: +10 -6 Use the official AROS macros over the __AROS versions. ---------------------------- revision 1.3 date: 1996/08/13 13:52:45; author: digulla; state: Exp; lines: +8 -5 Replaced by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA ---------------------------- revision 1.2 date: 1996/08/01 17:40:48; author: digulla; state: Exp; lines: +1 -0 Added standard header for all files ---------------------------- revision 1.1 date: 1996/07/28 16:37:22; author: digulla; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 1996/07/28 16:37:22; author: digulla; state: Exp; lines: +0 -0 First CVS version of AROS =============================================================================